package com.ltmonitor.web.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 视频服务器运行信息
 */
public class VideoServerInfo {

    /**
     * 内存占用
     */
    private int memoryUsed;

    /**
     * cpu负载
     */
    private int cpuLoad;

    /**
     * 当前在线的视频连接信息
     */
    private List<VideoConnection> connections = new ArrayList<>();

    public int getMemoryUsed() {
        return memoryUsed;
    }

    public void setMemoryUsed(int memoryUsed) {
        this.memoryUsed = memoryUsed;
    }

    public int getCpuLoad() {
        return cpuLoad;
    }

    public void setCpuLoad(int cpuLoad) {
        this.cpuLoad = cpuLoad;
    }

    public List<VideoConnection> getConnections() {
        return connections;
    }

    public void setConnections(List<VideoConnection> connections) {
        this.connections = connections;
    }
}
